package net.huashitong.synthetical.newSupervision.entity;

import com.sirdc.modules.core.entity.StringEntity;
import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;
import org.hibernate.validator.constraints.Length;

import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * Created with IntelliJ IDEA.
 * User: ling
 * Date: 2019/7/2
 * Time: 11:25
 * To change this template use File | Settings | File Templates.
 * Description:立项表
 */
@Entity
@Table(name = "t_task_new")
@DynamicUpdate//动态更新
@DynamicInsert//动态插入
public class TaskNew extends StringEntity {
    private String taskName;         //项目名称,标题
    private String content;          //内容
    private String referenceNumber;  //文号
    private String categoryId;       //项目类型ID
    private String dateTime;         //办理时限
    private String leaderId;         //领导id
    private String leader;           //领导
    private String other;            //备注
    private String file;             //附件id
    private String inspectionId;    //督查组id
    private String operator;         //督查组经办人
    private String operatorId;       //督查组经办人id
    private String operatorTel;      //督查组经办人电话
    private String comment;          //任务评价
    private String type;             //任务状态 0:待签收 1:待反馈 2:已反馈 3:办结 4:未办结 5任务逾期
    private String status;           //是否逾期  0逾期 1正常

    private String overdueTime;      //逾期天数

    public String getOverdueTime() {
        return overdueTime;
    }

    public void setOverdueTime(String overdueTime) {
        this.overdueTime = overdueTime;
    }

    public String getReferenceNumber() {
        return referenceNumber;
    }

    public String getOperatorId() {
        return operatorId;
    }

    public String getInspectionId() {
        return inspectionId;
    }

    public void setInspectionId(String inspectionId) {
        this.inspectionId = inspectionId;
    }

    public void setOperatorId(String operatorId) {
        this.operatorId = operatorId;
    }

    public void setReferenceNumber(String referenceNumber) {
        this.referenceNumber = referenceNumber;
    }

    public String getTaskName() {
        return taskName;
    }

    public void setTaskName(String taskName) {
        this.taskName = taskName;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(String categoryId) {
        this.categoryId = categoryId;
    }

    public String getDateTime() {
        return dateTime;
    }

    public void setDateTime(String dateTime) {
        this.dateTime = dateTime;
    }

    public String getLeaderId() {
        return leaderId;
    }

    public void setLeaderId(String leaderId) {
        this.leaderId = leaderId;
    }

    public String getLeader() {
        return leader;
    }

    public void setLeader(String leader) {
        this.leader = leader;
    }

    public String getOther() {
        return other;
    }

    public void setOther(String other) {
        this.other = other;
    }

    public String getFile() {
        return file;
    }

    public void setFile(String file) {
        this.file = file;
    }

    public String getOperator() {
        return operator;
    }

    public void setOperator(String operator) {
        this.operator = operator;
    }

    public String getOperatorTel() {
        return operatorTel;
    }

    public void setOperatorTel(String operatorTel) {
        this.operatorTel = operatorTel;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }
}